From 40b50083ee29b3a72882cd0d8a746dc1a091b4a9 Mon Sep 17 00:00:00 2001 From: Yosef Or Boczko Date: Wed, 13 Aug 2014 15:24:44 +0300 Subject: [PATCH] places-sidebar: Refine the spacing Based on a patch by Yosef Or Boczko, https://bugzilla.gnome.org/show_bug.cgi?id=731443 --- gtk/gtkplacessidebar.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 20d8ad849f..5ac0d6c3c2 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -97,8 +97,8 @@ * location. */ -#define EJECT_BUTTON_XPAD 6 -#define ICON_CELL_XPAD 6 +#define EJECT_BUTTON_XPAD 8 +#define ICON_CELL_XPAD 8 #define TIMEOUT_EXPAND 500 /* These are used when a destination-side DND operation is taking place. @@ -3751,6 +3751,7 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar) /* tree view */ tree_view = GTK_TREE_VIEW (gtk_tree_view_new ()); gtk_tree_view_set_headers_visible (tree_view, FALSE); + gtk_widget_set_margin_top (GTK_WIDGET (tree_view), 4); gtk_tree_view_set_row_separator_func (tree_view, row_separator_func, @@ -3763,7 +3764,7 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar) cell = gtk_cell_renderer_pixbuf_new (); g_object_set (cell, "xpad", 10, - "ypad", 6, + "ypad", 8, "follow-state", TRUE, NULL); gtk_tree_view_column_pack_start (col, cell, FALSE); -- 2.30.2